From: Florian Müllner Date: Fri, 10 Apr 2020 02:27:31 +0000 (+0200) Subject: extensions-app: Rename executable X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~449 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b02e3719b30e7973ac9380a1e7068dafac6e9050;p=gnome-shell.git extensions-app: Rename executable We kept the old binary name when overhauling the tool for the Extensions app to avoid unnecessary churn for packagers/distributors. However we now have a reason to "free" the old name, so rename the binary to match the (sub)project name. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1220 --- diff --git a/subprojects/extensions-app/build-aux/flatpak/org.gnome.Extensions.json b/subprojects/extensions-app/build-aux/flatpak/org.gnome.Extensions.json index c51850f72..4542732ac 100644 --- a/subprojects/extensions-app/build-aux/flatpak/org.gnome.Extensions.json +++ b/subprojects/extensions-app/build-aux/flatpak/org.gnome.Extensions.json @@ -3,7 +3,7 @@ "runtime": "org.gnome.Platform", "runtime-version": "master", "sdk": "org.gnome.Sdk", - "command": "gnome-shell-extension-prefs", + "command": "gnome-extensions-app", "tags": ["nightly"], "desktop-file-name-prefix": "(Nightly) ", "finish-args": [ diff --git a/subprojects/extensions-app/js/gnome-extensions-app.in b/subprojects/extensions-app/js/gnome-extensions-app.in new file mode 100644 index 000000000..dc6d62760 --- /dev/null +++ b/subprojects/extensions-app/js/gnome-extensions-app.in @@ -0,0 +1,2 @@ +#!/bin/sh +@gjs@ @pkgdatadir@/@app_id@ "$@" diff --git a/subprojects/extensions-app/js/gnome-shell-extension-prefs.in b/subprojects/extensions-app/js/gnome-shell-extension-prefs.in deleted file mode 100644 index dc6d62760..000000000 --- a/subprojects/extensions-app/js/gnome-shell-extension-prefs.in +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -@gjs@ @pkgdatadir@/@app_id@ "$@" diff --git a/subprojects/extensions-app/js/main.js b/subprojects/extensions-app/js/main.js index 25804e5ba..382637c74 100644 --- a/subprojects/extensions-app/js/main.js +++ b/subprojects/extensions-app/js/main.js @@ -39,7 +39,7 @@ function toggleState(action) { var Application = GObject.registerClass( class Application extends Gtk.Application { _init() { - GLib.set_prgname('gnome-shell-extension-prefs'); + GLib.set_prgname('gnome-extensions-app'); super._init({ application_id: 'org.gnome.Extensions' }); } diff --git a/subprojects/extensions-app/meson.build b/subprojects/extensions-app/meson.build index dba98c3f5..1cfc06b81 100644 --- a/subprojects/extensions-app/meson.build +++ b/subprojects/extensions-app/meson.build @@ -5,7 +5,7 @@ project('gnome-extensions-app', ) app_id = 'org.gnome.Extensions' -prgname = 'gnome-shell-extension-prefs' +prgname = 'gnome-extensions-app' gnome = import('gnome') i18n = import('i18n')